home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 151-175 / scopedisk168 / asmmacros / am_02 / getstdin.i < prev    next >
Text File  |  1995-03-19  |  535b  |  22 lines

  1.      NOLIST
  2. GetStdIn    MACRO              ; 14 Sept 88
  3. *------------------------------; Start of GetStdIn macro.
  4.      CallLib Input,dos         ; Call Input.
  5.      NOLIST
  6.      IFEQ ReEntrant-1
  7.      LIST
  8.      DefDS StdIn,1
  9.      MOVE.L D0,StdIn(A5)       ; Save the file handle at StdIn.
  10.      NOLIST
  11.      ENDC
  12.      IFNE ReEntrant-1
  13.      LIST
  14.      DS_BSS StdIn,1,.L
  15.      MOVE.L D0,StdIn           ; Save the file handle at StdIn.
  16.      NOLIST
  17.      ENDC
  18.      LIST
  19. *------------------------------; End of GetStdIn macro.
  20.      ENDM
  21.      LIST
  22.